package com.fire.pojo;

import com.fasterxml.jackson.annotation.JsonIgnore;

public class User {
	private Integer id;

	private String phoneNum;

	@JsonIgnore
	private String md5Password;

	private Integer isIdentify;
	
	private String  userName;
	
	private String photoUrl;

	private Integer useFlag;

	public User() {
		super();
	}

	public User(String phoneNum, String md5Password) {
		super();
		this.phoneNum = phoneNum;
		this.md5Password = md5Password;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getPhoneNum() {
		return phoneNum;
	}

	public void setPhoneNum(String phoneNum) {
		this.phoneNum = phoneNum;
	}

	public String getMd5Password() {
		return md5Password;
	}

	public void setMd5Password(String md5Password) {
		this.md5Password = md5Password;
	}

	public Integer getIsIdentify() {
		return isIdentify;
	}

	public void setIsIdentify(Integer isIdentify) {
		this.isIdentify = isIdentify;
	}

	public Integer getUseFlag() {
		return useFlag;
	}

	public void setUseFlag(Integer useFlag) {
		this.useFlag = useFlag;
	}
	
	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getPhotoUrl() {
		return photoUrl;
	}

	public void setPhotoUrl(String photoUrl) {
		this.photoUrl = photoUrl;
	}

	@Override
	public String toString() {
		return "User [id=" + id + ", phoneNum=" + phoneNum + ", md5Password=" + md5Password + ", isIdentify="
				+ isIdentify + ", useFlag=" + useFlag + "]";
	}

}
